package com.hooper.order;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author Tim Hooper
 * @version 1.0
 * @time 2022/10/09/19:52
 */
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.hooper")
@SpringBootApplication(scanBasePackages = "com.hooper")
@EnableSwagger2
@Slf4j
@EnableTransactionManagement
public class OrderApplication {
    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class,args);
        log.info("OrderApplication running");
    }
}
